package com.qiaofang.collectmanagebff.facade;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

import com.qiaofang.common.feignset.config.FeignConfiguration;

@SpringBootApplication
@EnableCircuitBreaker
@EnableFeignClients(value={"com.qiaofang.*.stub"},defaultConfiguration=FeignConfiguration.class)
@ComponentScan(value = {"com.qiaofang.collectmanagebff","com.qiaofang.*.stub.feign"})
public class CollectManageBffApplication {
	public static void main(String[] args) {
		SpringApplication.run(CollectManageBffApplication.class, args);
	}
}
